import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
/**
 *
 * @author steiner
 */
public class HelloServlet extends HttpServlet {
    public void doGet(HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException{
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        
        String docType = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0" +
                "Transational//PT-BR\">\n";
        out.println(docType + "<html>\n" +
                "<head><title> Hello</title></head>\n"+
                "<body bgcolor=\"#FDF5E6\">\n"+
                "<h1>Hello</h1>\n </body></html>");
    }
}
